home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
SECURITY
/
4040.ZIP
/
WATCHMN.ZIP
/
WMRESTOR.BA_
< prev
next >
Wrap
Text File
|
1992-08-05
|
1KB
|
54 lines
@echo off
ECHO === WatchMan Critical Files Restore ===
ECHO Copyright (c) 1992 Distant Markets, Edmonton, Canada
ECHO
ECHO WARNING: Use this utility only when your MS Windows can not start,
ECHO otherwise run WatchMan in MS Windows to restore files from WatchMan's
ECHO backup.
ECHO Press Ctrl-C to return to DOS.
PAUSE
IF NOT EXIST WIN.COM GOTO ERRCDIR
IF EXIST SYSTEM\DBACKUP.ALD\WIN.IN1 GOTO NONET
IF NOT EXIST DBACKUP.ALD\WIN.IN1 GOTO ERRNOBACK
COPY WIN.INI WIN.BAK
COPY DBACKUP.ALD\WIN.IN1 WIN.INI
COPY SYSTEM.INI SYSTEM.BAK
COPY DBACKUP.ALD\SYSTEM.IN1 SYSTEM.INI
GOTO GOODEND
:NONET
COPY WIN.INI WIN.BAK
COPY SYSTEM\DBACKUP.ALD\WIN.IN1 WIN.INI
COPY SYSTEM.INI SYSTEM.BAK
COPY SYSTEM\DBACKUP.ALD\SYSTEM.IN1 SYSTEM.INI
GOTO GOODEND
:ERRCDIR
ECHO ERROR: WMRESTOR runnig not in MS Windows directory.
ECHO
ECHO Please change you current directory to MS Windows directory,
ECHO than run %0 again. Example (asume your MS Windows is in
ECHO C:\WINDOWS directory):
ECHO
ECHO c:
ECHO cd \windows
ECHO %0
ECHO
GOTO GOODEND
:ERRNOBACK
ECHO
ECHO ERROR: Backup files not found!
ECHO
:GOODEND